#ifndef APP_H
#define APP_H

typedef enum eAppMode
{
    eAM_None = 0,
    eAM_FIXED_SPEED,
    eAM_FIXED_DISTANCE,
    eAM_COUNT,
} eAppMode;


typedef void (*FuncInit)();
typedef void (*FuncMainLoop)();
typedef void (*FuncSwitchAppMode)(eAppMode mode);

typedef struct App_t
{
    FuncInit Init;
    FuncMainLoop MainLoop;
    FuncSwitchAppMode SwitchMode;
} App;

App* GetApp();

#endif